package cn.akwangl.dubbo.user;

import cn.akwangl.dubbo.api.IUserService;
import org.apache.dubbo.config.annotation.DubboService;

/**
 * 用户提供者
 *
 * @author youyongkun
 * @date 2021/8/4 15:16
 */
@DubboService(interfaceClass = IUserService.class)
public class UserService implements IUserService {
    @Override
    public String userName() {
        return Thread.currentThread().getName();
    }
}
